Airwallex\AbstractClient B

Total Complexity 86
Dependencies 8
Dependents 1
Total lines 576
Lines of code 426
Logical lines of code 150
Comment lines 46
Methods 24
Properties 9

Methods 24

Method Rating Maintainability Complexity Lines of code
createPaymentIntent()
C
28
28 134
getToken()
S
58 7 16
doAuth()
S
55 6 18
createRefund()
S
50 4 30
createCustomer()
S
53 3 24
confirmPaymentIntent()
S
53 3 23
getCustomer()
S
54 3 23
createCustomerClientSecret()
S
56 3 18
getPaymentIntent()
S
56 3 18
getPaymentMethodTypes()
S
55 2 21
capture()
S
54 2 21
getAccount()
S
59 2 16
getInstance()
S
71 2 6
getCachedPaymentIntent()
S
68 2 7
getAuthUrl()
S
78 2 3
savePaymentIntentToCache()
S
67 2 7
getCacheService()
S
71 2 6
getLogUrl()
S
78 2 3
getGeneralUrl()
S
78 2 3
getPciUrl()
S
78 2 3
testAuth()
S
65 1 8
getHttpClient()
S
80 1 3
getAuthorizationRetryClosure()
S
70 1 7
getReferrer()
S
68 1 8